from fastapi import status
from fastapi import HTTPException


def mysql_url_required_exception():
    raise HTTPException(
        detail="Mysql Connect url must be required!",
        status_code=status.HTTP_400_BAD_REQUEST,
    )